import routeData from './routeData'
import {RouterProvider, createBrowserRouter} from "react-router-dom"

export default function MyRouter() {
    const data = createBrowserRouter(routeData)
    return <RouterProvider router={data}></RouterProvider>
}